package com.ruoyi.xiaoshou.service;

import java.util.List;
import com.ruoyi.xiaoshou.domain.SaleBackDetail;
import com.ruoyi.xiaoshou.domain.SaleBackRequestDetail;

/**
 * 销售退货详情Service接口
 * 
 * @author lmj
 * @date 2024-10-29
 */
public interface ISaleBackDetailService 
{
    /**
     * 查询销售退货详情
     * 
     * @param id 销售退货详情主键
     * @return 销售退货详情
     */
    public SaleBackDetail selectSaleBackDetailById(Integer id);

    /**
     * 查询销售退货详情列表
     * 
     * @param saleBackDetail 销售退货详情
     * @return 销售退货详情集合
     */
    public List<SaleBackDetail> selectSaleBackDetailList(SaleBackDetail saleBackDetail);
    public List<SaleBackDetail> useSaleBackDetailList(SaleBackDetail saleBackDetail);

    /**
     * 新增销售退货详情
     * 
     * @param saleBackDetail 销售退货详情
     * @return 结果
     */
    public int insertSaleBackDetail(SaleBackDetail saleBackDetail);

    /**
     * 修改销售退货详情
     * 
     * @param saleBackDetail 销售退货详情
     * @return 结果
     */
    public int updateSaleBackDetail(SaleBackDetail saleBackDetail);

    /**
     * 批量删除销售退货详情
     * 
     * @param ids 需要删除的销售退货详情主键集合
     * @return 结果
     */
    public int deleteSaleBackDetailByIds(Integer[] ids);

    /**
     * 删除销售退货详情信息
     * 
     * @param id 销售退货详情主键
     * @return 结果
     */
    public int deleteSaleBackDetailById(Integer id);
}
